package com.yangyang.lamviarm.client;

import java.util.List;

import com.yangyang.lamviarm.entity.JPredicate;
import com.yangyang.lamviarm.server.JSimulator;

public class JSocketClient {

	public static boolean doAction(String action, List<JPredicate> status) {

		boolean result = JSimulator.simulator.doAction(action);
		if (result) {
			status.clear();
			status.addAll(JSimulator.simulator.Observation());
		}
		return result;
	}
}
